import 'package:get/get.dart';

class AccountInfoDetailController extends GetxController {
  /// 响应式成员变量
  final _isObscured = true.obs;

  set isObscured(value) => _isObscured.value = value;

  get isObscured => _isObscured.value;

  final _isPhone = false.obs;

  set isPhone(value) => _isPhone.value = value;

  get isPhone => _isPhone.value;

  /// 成员变量

  /// 生命周期
  @override
  void onInit() {
    super.onInit();
    isPhone = Get.arguments['type'] == 0;
  }
}
